package cn.wolfcode.wechat.mapper;
import cn.wolfcode.wechat.domain.LocationBlacklist;
import cn.wolfcode.wechat.query.LocationBlacklistQueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface LocationBlacklistMapper {
    int insert(@Param("locationBlacklist") LocationBlacklist locationBlacklist);

    int update(@Param("locationBlacklist") LocationBlacklist locationBlacklist);

    LocationBlacklist findById(@Param("id")Long id);

    List<LocationBlacklist> find(LocationBlacklistQueryObject qo);

    int deleteById(@Param("id")Long id);
}
